﻿@extends('layouts.home')
@section('title')
<title>{{$cate->cate_title}}</title>
<meta name="keywords" content="{{$cate->cate_keywords}}" />
<meta name="description" content="{{$cate->cate_description}}" />
@endsection



@section('content')
<article class="blogs">
<h1 class="t_nav"><span>{{$cate->cate_title}}</span><a href="/" class="n1">网站首页</a><a href="{{url('cate/'.$cate->cate_id)}}" class="n2">{{$cate->cate_name}}</a></h1>
<div class="newblog left">

  @foreach($arts as $k=>$v)
   <h2>{{$v->art_title}}</h2>
        <p class="dateview"><span>发布时间：{{$v->art_time}}</span><span>作者：{{$v->art_editor}}</span><span>分类：[<a href="/news/life/">{{$cate->cate_name}}</a></span></p>
    <figure><img src='/{{$v->art_thumb}}'></figure>
    <ul class="nlist">
      <p>{{$v->art_title}}</p>
      <a title="/" href="{{url('a/'.$v->art_id)}}" target="_blank" class="readmore">阅读全文>></a>
    </ul>
    <div class="line"></div>
   @endforeach


    <div class="blank"></div>
    <div class="ad">  
    <img src="images/ad.png">
    </div>

    <div class="page">
     {!! $arts->render() !!}
    </div>
</div>
<aside class="right">
   <div class="rnav">
      <ul>
          @foreach($subcate as $k=>$v)
       <li class="rnav{{$k+1}}"><a href="{{url('cate/'.$v->cate_id)}}" target="_blank">{{$v->cate_name}}</a></li>
              @endforeach
     </ul>      
    </div>
<div class="news">

    </div>
    <div class="visitors">

      <ul>
        @parent
      </ul>
    </div>
     <!-- Baidu Button BEGIN -->
    <div id="bdshare" class="bdshare_t bds_tools_32 get-codes-bdshare"><a class="bds_tsina"></a><a class="bds_qzone"></a><a class="bds_tqq"></a><a class="bds_renren"></a><span class="bds_more"></span><a class="shareCount"></a></div>
    <script type="text/javascript" id="bdshare_js" data="type=tools&amp;uid=6574585" ></script> 
    <script type="text/javascript" id="bdshell_js"></script> 
    <script type="text/javascript">
document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion=" + Math.ceil(new Date()/3600000)
</script> 
    <!-- Baidu Button END -->   
</aside>
</article>
@endsection